<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
<script src="libs/modernizr-1.7.min.js"></script>
<script type="text/javascript">
if(Modernizr.localstorage) {
	var foo = localStorage.getItem("bar");
	console.log(foo);
	localStorage.setItem("bar", "aaaa");
	foo = localStorage.getItem("bar");
	console.log(foo);
} else {
	alert('b');	
}
</script>
</head>
<body>
</body>
</html>